package com.ml.mall.bean.req.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description description
 * @author yx
 * @date 2021/9/15
 * @version 1.0
*/
@ApiModel("配套路由删除dto")
@Data
public class SysSubRoutingDelDto {
    @ApiModelProperty("配套id")
    @NotNull(message = "配套id不可为空")
    private Long subId;

    @ApiModelProperty("路由id")
    @NotEmpty(message = "路由id列表不可为空")
    private List<Long> routingIds;
}
